// A class for a person result

package
{
	
	public class Person extends Result
	{
		public var resultType:String = "Person";
		public var name:String;
		public var contact:String;
		public var photoURL:String;
		public var jsonDoc:String;
		
		public function Person(jsonDOC:String){
		jsonDoc = jsonDOC;
		name = findField("name", jsonDoc);
		contact = findField("email", jsonDoc);
		//TODO:photoURL
		}
	}
}